<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.db.conn"%>
<%@ page import="java.sql.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
<jsp:include flush="true" page="${basePath}/admin/head.jsp"></jsp:include>
 </head>

 <body class="ms-body ms-aside-left-open ms-primary-theme ms-has-quickbar">
    <!-- Body Content Wrapper -->
    <div class="ms-content-wrapper">
        <div class="row">
            <div class="col-md-12">
                   <div class="ms-panel">
        <div class="ms-panel-header ms-panel-custome">
            <h6>查看章节信息</h6>
        </div>
        <div class="ms-panel-body">
            <div class="table-responsive">
                <table id="data-table10" class="table w-100 thead-primary">
                    <tr>
                        <td>
					
		 <table style="width:100%;" id="ctl001">
        <% 			conn cn=new conn();
    
     			String id = request.getParameter("id");
				String sql = "select  * from bmore  where mid=" + id ;
				ResultSet rs = cn.query(sql);
				rs.next();
			%>
 <tr>
	<td height="25" width="20%" align="right">小说ID：</td>
	<td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("bid") %></td>
	</tr>
 <tr>
	<td height="25" width="20%" align="right">章节名称：</td>
	<td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("mtitle") %></td>
	</tr>
 <tr>
	<td height="25" width="20%" align="right">章节内容：</td>
	<td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("memo") %></td>
	</tr>
 <tr>
	<td height="25" width="20%" align="right">发布时间：</td>
	<td height="25" width="*" align="left" style="text-align:left"><%=rs.getString("mtime") %></td>
	</tr>


    <tr>
        <td>&nbsp;</td>
        <td align="left">
		   		   <input name="btnReturn" type="button" value="返 回"  class="btn"  onclick="history.go(-1);"  />
            </td>
    </tr>
</table>
     <%
				if (rs != null)
					rs.close();
				if (cn != null)
					cn.close();
			%>   

                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>

            </div>
        </div>
    </div>

</body>
</html>


